import request from '@/utils/request.js'
// 获取筛选列表接口
export const analysisJob = (Data)=>{
    const params = new URLSearchParams();
    for (const key in Data) {
        params.append(key, Data[key])
    }
    // console.log(params)
    //添加完之后，params的格式自动给转为：username=xxx&password=xxx&repassword=xxx
    return request.post('/job/analysis1', params);
}

export const JobRequirement = (Data)=>{
    const params = new URLSearchParams();
    for (const key in Data) {
        params.append(key, Data[key])
    }
    // console.log(params)
    //添加完之后，params的格式自动给转为：username=xxx&password=xxx&repassword=xxx
    return request.post('/job/JobRequirement', params);
}

export const JobworkRole = (Data)=>{
    const params = new URLSearchParams();
    for (const key in Data) {
        params.append(key, Data[key])
    }
    // console.log(params)
    //添加完之后，params的格式自动给转为：username=xxx&password=xxx&repassword=xxx
    return request.post('/job/JobworkRole', params);
}
export const JobResume = (Data)=>{
    const params = new URLSearchParams();
    for (const key in Data) {
        params.append(key, Data[key])
    }
    // console.log(params)
    //添加完之后，params的格式自动给转为：username=xxx&password=xxx&repassword=xxx
    return request.post('/job/JobResume', params);
}

export const recruitAnalysis = (Data)=>{
    const params = new URLSearchParams();
    for (const key in Data) {
        params.append(key, Data[key])
    }
    // console.log(params)
    //添加完之后，params的格式自动给转为：username=xxx&password=xxx&repassword=xxx
    return request.post('/job/recruitAnalysis', params);
}

export const insertJob = (Data)=>{
    const params = new URLSearchParams();
    for (const key in Data) {
        params.append(key, Data[key])
    }
    // console.log(params)
    //添加完之后，params的格式自动给转为：username=xxx&password=xxx&repassword=xxx
    return request.post('/job/insertJob', params);
}





